softethervpn5: switch to git (2019-02-27)
authorAndy Walsh <[email protected]>
Fri, 1 Mar 2019 11:16:05 +0000 (12:16 +0100)
committerAndy Walsh <[email protected]>
Fri, 1 Mar 2019 11:16:05 +0000 (12:16 +0100)
* switch to git, until we can consume manual created source releases again
* Fix compilation without OpenSSL ENGINE
* remove unnecessary stop_service() triggers

Signed-off-by: Andy Walsh <[email protected]>
net/softethervpn5/Makefile
net/softethervpn5/files/vpnbridge.init
net/softethervpn5/files/vpnclient.init
net/softethervpn5/files/vpnserver.init

index c0885f0bdfcbfa10bf9d86bd8032da9ad4ac557b..8eaba1dcdd2adf3da88d7336c977d01f38583e33 100644 (file)
@@ -3,19 +3,17 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=softethervpn5
-PKG_VERSION:=5.01.9667
-PKG_RELEASE:=2
+PKG_RELEASE:=1
 
 PKG_MAINTAINER:=Andy Walsh <[email protected]>
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=COPYING
 
-PKG_SOURCE:=softether-vpn-src-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/SoftEtherVPN/SoftEtherVPN/releases/download/$(PKG_VERSION)
-PKG_HASH:=c99142c5e55fae055955332964c56d29aba10bec9764ab961aebabf6c3ee1462
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/SoftEtherVPN/SoftEtherVPN.git
+PKG_SOURCE_DATE:=2019-02-27
+PKG_SOURCE_VERSION:=beef8d68924916d0834c87ceb9ae8eef2c9b1d6c
+PKG_MIRROR_HASH:=8cd27ee1d768c00f816501be925bb971fd62b9cef145e4ac5c731456a86d782c
 
 HOST_BUILD_DEPENDS:=ncurses/host readline/host
 PKG_BUILD_DEPENDS:=softethervpn5/host
@@ -25,7 +23,6 @@ include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/nls.mk
 include $(INCLUDE_DIR)/cmake.mk
 
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
 
 define Package/softethervpn5/Default
   SECTION:=net
index 1311e652b0ef7643866ce204c0f9977b292b0d17..955067195faa2d769055d8551038a9625ad69143 100644 (file)
@@ -20,9 +20,3 @@ start_service(){
     procd_set_param respawn
     procd_close_instance
 }
-
-stop_service(){
-       logger -t 'softethervpn5' "Stopping softether bridge service."
-       
-       /var/softethervpn/vpnbridge stop
-}
index e4766f0fe800c6f0033dc5c3d873ccfc9eefdf11..743846a04e7ceaf48ec5a17045198571e2a8e762 100644 (file)
@@ -20,9 +20,3 @@ start_service(){
     procd_set_param respawn
     procd_close_instance
 }
-
-stop_service(){
-       logger -t 'softethervpn5' "Stopping softether client service."
-       
-       /var/softethervpn/vpnclient stop
-}
index e6f73da315248fa2f76fe188407d92ee8da292d0..fbc94ed4510c9d2673514278395097db05057537 100644 (file)
@@ -20,9 +20,3 @@ start_service(){
     procd_set_param respawn
     procd_close_instance
 }
-
-stop_service(){
-       logger -t 'softethervpn5' "Stopping softether vpnserver service."
-       
-       /var/softethervpn/vpnserver stop
-}